/**
 * Copyright(C): CETC-32
 * @Description: 登陆实体
 * @author: youqing
 * @version: 1.0
 * @date: 2020/9/11 10:55
 * 更改描述：
 */

package com.cetc32.dh.dto;

/**
 * @Title: LoginDTO
 * @Description:
 * @author: youqing
 * @version: 1.0
 * @date: 2020/11/21 11:19
 */
public class LoginDTO {

    /**
     * 用户名称
     */
    private String username;

    /**
     * 用户密码
     */
    private String password;

    /**
     * rememberMe
     */
    private String rememberMe;

    /**
     * 获取用户名称
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置用户名称
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取用户密码
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置用户密码
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取rememberMe
     * @return rememberMe
     */
    public String getRememberMe() {
        return rememberMe;
    }

    /**
     * 设置rememberMe
     * @param rememberMe
     */
    public void setRememberMe(String rememberMe) {
        this.rememberMe = rememberMe;
    }

    /**
     * 将登陆实体转换成字符串
     */
    @Override
    public String toString() {
        return "LoginDTO{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", rememberMe='" + rememberMe + '\'' +
                '}';
    }
}
